docs: Add migration note for iconify → minimize
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 18 Nov 2019 14:10:40 +0000 (14:10 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 18 Nov 2019 14:12:41 +0000 (14:12 +0000)
See commit b70e4f6de95b.

docs/reference/gtk/migrating-3to4.xml

index 362619178e77b3cd92bd2374d6eecaee7dd89eaf..3e0cc368e518eab9e6a848d2bb0361052286d523 100644 (file)
       </para>
     </section>
 
+    <section>
+      <title>The "iconified" window state has been renamed to "minimized"</title>
+      <para>
+        The <literal>GDK_SURFACE_STATE_ICONIFIED</literal> value of the
+        #GdkSurfaceState enumeration is now %GDK_SURFACE_STATE_MINIMIZED.
+      </para>
+      <para>
+        The #GdkSurface functions <function>gdk_surface_iconify()</function>
+        and <function>gdk_surface_deiconify()</function> have been renamed to
+        gdk_surface_minimize() and gdk_surface_unminimize(), respectively.
+      </para>
+      <para>
+        The corresponding #GtkWindow functions <function>gtk_window_iconify()</function>
+        and <function>gtk_window_deiconify()</function> have been renamed
+        to gtk_window_minimize() and gtk_window_unminimize(), respectively.
+      </para>
+      <para>
+        The behavior of the minimization and unminimization operations have
+        not been changed, and they still require support from the underlying
+        windowing system.
+      </para>
+    </section>
+
   </section>
 
 </chapter>